body, html {
    height: 100%;
    margin: 0;
    font-family: sans-serif;
}
#landing {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
    background-color: #04090d;
}
#footer {
    position: fixed;
    right: 10px;
    bottom: 0;
    opacity: 0.8;
    color: #999;
}
.archive-container {
    position: relative;
    width: 80%;
    max-width: 1536px;
}

.archive-image {
    display: block;
    width: 100%;
}

.clickable-grid {
    position: absolute;
    top: 44%;
    left: 32%;
    width: 35%;
    height: 52%;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 5px;

    background-color: rgba(255, 0, 0, 0.4); /* Temporary red overlay */
}

.clickable-grid a {
    /* For debugging, give it a temporary color */
    border: 1px solid blue; /* Temporary blue border on links */
}

#inside {
    background-image: url(/images/saltsmoke-bg.jpg);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
/* =============================
SHARED STYLES
============================= */

.main-container {
    display: flex;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
}

.content-box {
    background-color: rgba(255, 255, 255, 0.65);
    padding: 20px 40px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* =============================
DESKTOP FIRST STYLES (lg and up)
============================= */

.main-container {
    justify-content: space-between;
    align-items: flex-start;
    padding: 5% 5%;
}

.content-wrapper {
    display: flex;
    flex-direction: column; /* Stack image and content box vertically */
    align-items: center;    /* Center them horizontally */
    flex-basis: 60%;        /* Assign the width to the wrapper */
}

.title-image {
    width: 600px; /* Example size, adjust as needed */
    height: auto;
    margin-bottom: 10px; /* Space between image and content box */
}

.content-box {
    width: 100%; 
    /* flex-basis: 60%; */
    text-align: left;
    margin-bottom: 30px;
}

.side-menu {
    flex-basis: 25%;
}

.side-menu ul {
    list-style-type: none; padding: 0; margin: 0;
}

.side-menu li {
    background-color: rgba(44, 62, 80, 0.7);
    margin-bottom: 10px;
    border-radius: 5px;
}

.side-menu li a {
    display: block; padding: 15px 20px; color: white;
    text-decoration: none; font-weight: bold; text-align: center;
    transition: background-color 0.3s;
}

.side-menu li a:hover {
    background-color: rgba(52, 152, 219, 0.9);
}

/* ===================================================
MOBILE OVERRIDES (screens smaller than 992px)
=================================================== */

@media (max-width: 991.98px) {
    .main-container {
        /* Stack content on top of menu (which is hidden) */
        flex-direction: column; 
        padding: 0;
        align-items: center; /* Center content horizontally */
    }

    .content-box {
        width: 90%; /* Use most of the screen width */
        /* margin-top: 80px; Add space for the fixed top navbar */
        text-align: center;
    }

    .title-image {
        width: 300px;
        margin-top: 50px;
    }
}

/* =============================
MOBILE NAVBAR STYLES
============================= */

.navbar {
    background-color: rgba(0, 0, 0, 0.7) !important;
}
.navbar .nav-link, .navbar .navbar-brand {
    color: white !important;
}
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.5);
}
